package kr.hkit.powerjava.chapter08.Programming;

public class Employee {

	private String name, tel;
	private int sal;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public int getSal() {
		return sal;
	}
	public void setSal(int sal) {
		this.sal = sal;
	}
	
	@Override
	public String toString() {
		return "Employee [name=" + name + ", tel=" + tel + ", sal=" + sal + "원]";
	}
}
